package com.hzw.saas.web.app.project.param;

import javax.validation.constraints.Size;

import org.springframework.web.multipart.MultipartFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zzl
 * @since 08/11/2021
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("项目申请创建参数")
public class ProjectApplyCreateParam extends ProjectApplyParam{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "研究方案附件，不能超过5个")
    @Size(max = 5)
    private MultipartFile[] researchPlanAttachments;

    @ApiModelProperty(value = "申报人简历附件，不能超过5个")
    @Size(max = 5)
    private MultipartFile[] resumeAttachments;

    @ApiModelProperty(value = "代表性论著附件，不能超过5个")
    @Size(max = 5)
    private MultipartFile[] magnumOpusAttachments;
}
